import { request } from '@/utils/request'
export default ({
    getAllTeacherInfo(data) {
        return request('/cmeduApi/cmeduweb00001/getTeacher', "GET", data);
    },
    getAllCourse(){
        return request('/cmeduApi/cmeduweb00001/v1/getcourse','GET')
    },
    getAllStatus(){
        return request('/cmeduApi/cmeduweb00001/v1/getTeacherStatus','GET')
    },
    getSubjectType(){
        return request("/sign/jwDictData/getDictionariesSubjectType",'get')
    },
    selectAllTeacherBySchool(data){
        return request("/sign/jwTeacher/queryBySchool",'GET',data)
    },
    //获取教职工状态
    getTeacherStatus(){
        return request('/sign/jwDictData/getDictionariesTeacherStatus','get')
    },
    //添加教职工1
    addTeacher(data){
        return request("/sign/jwTeacher/saveTeacher",'post',data)
    },
    //获取所有教职工
    getTeacher(data){
        return request("/sign/jwTeacher/queryByPage",'get',data)
    },
    //删除教师
    delTeacher(id){
        return request("/sign/jwTeacher/deleteById/"+id,'post')
    },
    //获取政治面貌
    getDictionariesPoliticsStatus(){
        return request("/sign/jwDictData/getDictionariesPoliticsStatus",'get')
    },
    saveTeacherClass(data){
        return request("/sign/jwClass/saveTeacherClass",'post',data)
    },
    //修改教职工信息
    updateTeacher(data){
        return request("/sign/jwTeacher/updateTeacher",'post',data)
    },
    //根据班级获取教职工
    getTeacherByClass(data){
        return request("/sign/jwClass/selectTeacherClass",'get',data)
    },
    //将教职工在班级中移除
    delTeacherByClss(data){
        return  request("/sign/jwClass/moveTeacherClass",'post',data)
    }
})
